import type { App } from "vue";
import { ControlType, registerControlProvider } from "@ibiz-template/runtime";
import IBizAppMenuControl from "./i-biz-caption-bar-control.vue";
import { CaptionBarProvider } from "./i-biz-caption-bar-control.provider";

export const IBizCaptionBar = {
  install(v: App) {
    v.component('IBizCaptionBarControl', IBizAppMenuControl);
    registerControlProvider(ControlType.CAPTIONBAR, () => new CaptionBarProvider());
  },
}
